﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_TRAININGData : MarshalByRefObject, IHRM_TRAININGData
    {
        HRM_TRAININGData HRM_TRAINING = new HRM_TRAININGData();

        public int HRM_TRAINING_Delete(string TrainingCode)
        {
            return HRM_TRAINING.HRM_TRAINING_Delete(TrainingCode);
        }
        public int HRM_TRAINING_Disable(string TrainingCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_TRAINING_Get(string TrainingCode)
        {
            return HRM_TRAINING.HRM_TRAINING_Get(TrainingCode);
        }
        public System.Data.DataSet HRM_TRAINING_GetList()
        {
            return HRM_TRAINING.HRM_TRAINING_GetList();
        }
        public int HRM_TRAINING_Insert(string TrainingCode, string TrainingName, string Description, string Purpose, string Form, string Location, string Certificate, int Quantity, decimal MoneyOneEmployee, decimal MoneyOneCompany, decimal MoneyOneTotal, decimal MoneyAllEmployee, decimal MoneyAllCompany, decimal MoneyAllTotal, decimal MoneyTotal, DateTime PrepareFromDate, DateTime PrepareToDate, DateTime RegisterFromDate, DateTime RegisterToDate, DateTime PerformFromDate, DateTime PerformToDate, string DecideNumber, DateTime DecideDate, string DecidePerson, string PartnerName, string PartnerAddress, string PartnerPhone, string PartnerFax, string PartnerWebsite, string PartnerEmail, string PersonName, string PersonPhone, string PersonPosition, string PersonAddress, string PersonEmail, int Status)
        {
            return HRM_TRAINING.HRM_TRAINING_Insert(TrainingCode,TrainingName,Description,Purpose,Form,Location,Certificate,Quantity,MoneyOneEmployee,MoneyOneCompany,MoneyOneTotal,MoneyAllEmployee,MoneyAllCompany,MoneyAllTotal,MoneyTotal,PrepareFromDate,PrepareToDate,RegisterFromDate,RegisterToDate,PerformFromDate,PerformToDate,DecideNumber,DecideDate,DecidePerson,PartnerName,PartnerAddress,PartnerPhone,PartnerFax,PartnerWebsite,PartnerEmail,PersonName,PersonPhone,PersonPosition,PersonAddress,PersonEmail,Status);
        }
        public int HRM_TRAINING_Save(string TrainingCode, string TrainingName, string Description, string Purpose, string Form, string Location, string Certificate, int Quantity, decimal MoneyOneEmployee, decimal MoneyOneCompany, decimal MoneyOneTotal, decimal MoneyAllEmployee, decimal MoneyAllCompany, decimal MoneyAllTotal, decimal MoneyTotal, DateTime PrepareFromDate, DateTime PrepareToDate, DateTime RegisterFromDate, DateTime RegisterToDate, DateTime PerformFromDate, DateTime PerformToDate, string DecideNumber, DateTime DecideDate, string DecidePerson, string PartnerName, string PartnerAddress, string PartnerPhone, string PartnerFax, string PartnerWebsite, string PartnerEmail, string PersonName, string PersonPhone, string PersonPosition, string PersonAddress, string PersonEmail, int Status)
        {
            return HRM_TRAINING.HRM_TRAINING_Save(TrainingCode, TrainingName, Description, Purpose, Form, Location, Certificate, Quantity, MoneyOneEmployee, MoneyOneCompany, MoneyOneTotal, MoneyAllEmployee, MoneyAllCompany, MoneyAllTotal, MoneyTotal, PrepareFromDate, PrepareToDate, RegisterFromDate, RegisterToDate, PerformFromDate, PerformToDate, DecideNumber, DecideDate, DecidePerson, PartnerName, PartnerAddress, PartnerPhone, PartnerFax, PartnerWebsite, PartnerEmail, PersonName, PersonPhone, PersonPosition, PersonAddress, PersonEmail, Status);
        }
        public int HRM_TRAINING_Update(string TrainingCode, string TrainingName, string Description, string Purpose, string Form, string Location, string Certificate, int Quantity, decimal MoneyOneEmployee, decimal MoneyOneCompany, decimal MoneyOneTotal, decimal MoneyAllEmployee, decimal MoneyAllCompany, decimal MoneyAllTotal, decimal MoneyTotal, DateTime PrepareFromDate, DateTime PrepareToDate, DateTime RegisterFromDate, DateTime RegisterToDate, DateTime PerformFromDate, DateTime PerformToDate, string DecideNumber, DateTime DecideDate, string DecidePerson, string PartnerName, string PartnerAddress, string PartnerPhone, string PartnerFax, string PartnerWebsite, string PartnerEmail, string PersonName, string PersonPhone, string PersonPosition, string PersonAddress, string PersonEmail, int Status)
        {
            return HRM_TRAINING.HRM_TRAINING_Update(TrainingCode, TrainingName, Description, Purpose, Form, Location, Certificate, Quantity, MoneyOneEmployee, MoneyOneCompany, MoneyOneTotal, MoneyAllEmployee, MoneyAllCompany, MoneyAllTotal, MoneyTotal, PrepareFromDate, PrepareToDate, RegisterFromDate, RegisterToDate, PerformFromDate, PerformToDate, DecideNumber, DecideDate, DecidePerson, PartnerName, PartnerAddress, PartnerPhone, PartnerFax, PartnerWebsite, PartnerEmail, PersonName, PersonPhone, PersonPosition, PersonAddress, PersonEmail, Status);
        }
    }
}
